package com.gjy.pd.specification;

/**
 * @author 宫静雨
 * @version 1.0
 * @since 2023-01-17 14:37:29
 */
public interface ISpecification {

    boolean isSatisfiedBy(Object candidate);

    ISpecification and(ISpecification spec);

    ISpecification or(ISpecification spec);

    ISpecification not();
}
